import request from '@/utils/request'

export function listpartoutHead(query) {
  return request({
    url: '/part/partoutHead/list',
    method: 'get',
    params: query
  })
}

export function createpartoutHead(data) {
  return request({
    url: '/part/partoutHead/create',
    method: 'post',
    data
  })
}

export function readpartoutHead(data) {
  return request({
    url: '/part/partoutHead/get/' + data.id,
    method: 'get'
  })
}

export function updatepartoutHead(data) {
  return request({
    url: '/part/partoutHead/update',
    method: 'post',
    data
  })
}

export function deletepartoutHead(data) {
  return request({
    url: '/part/partoutHead/delete/' + data.fbillno,
    method: 'delete'
  })
}
